package com.wang.see.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity(name="music")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Music  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	private int id;
	@Column(nullable=false)
	private String title;
	@Column(nullable=false)
	private String artist;
	@Column(nullable=false)
	private String mp3;
	@Column(nullable=false)
	private String cover;
	@Column(nullable=false)
	private String create_date;
	
}
